home *** CD-ROM | disk | FTP | other *** search
- /*
- * JPartialResources.h
- *
- * Jamie's partial resource calls that work under any system.
- * Version 1.0.1
- * Copyright © 1992-93 by Jamie R. McCarthy. All rights reserved.
- * This code can be both distributed and used freely.
- *
- * Note that the routines can return the error codes -190 and -189
- * (inputOutOfBounds and writingPastEnd), which are documented in
- * IM VI 13, but are not in Apple's Errors.h file as of this writing.
- * To ensure compatibility with future headers, which presumably
- * will define those values, I'm leaving them out of this file.
- * Please do remember to check ResError().
- */
-
-
-
- /******************************/
-
- extern Boolean partialResourceCallsAvailable;
-
- /******************************/
-
-
-
- pascal void jReadPartialResource(Handle theResource, long offset, void *buffer, long count);
- pascal void jWritePartialResource(Handle theResource, long offset, void *buffer, long count);
- pascal void jSetResourceSize(Handle theResource, long size);
-